home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PDefineColor.h < prev    next >
C/C++ Source or Header  |  1996-09-04  |  1KB  |  54 lines

  1. /*
  2.  *--- PDefineColor.h ------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:
  7.  *-------------------------------------------------------------------------
  8.  */
  9. #ifndef __PDefineColor__
  10. #define __PDefineColor__
  11.  
  12. #include "PMTypes.h"
  13. #include "PKeywords.h"
  14.  
  15. class PRequestBuf;
  16.  
  17. class PDefineColor
  18. {
  19.  
  20. public:
  21.  
  22.     PDefineColor
  23.       (    const char *    sColorName,
  24.         eColorType        cType,
  25.         eColor            cModel,
  26.         PMBool            bOverprint,
  27.         short            d1,
  28.         short            d2,
  29.         short            d3,
  30.         short            d4 = 0);
  31.  
  32.     PDefineColor
  33.       (    const char *    sColorName,
  34.         // assumes cType == kColorTypeTint
  35.         eColor            cModel,
  36.         PMBool            bOverprint,
  37.         short            d1,
  38.         short            d2,
  39.         short            d3,
  40.         short            d4,
  41.         const char *    sBaseColor,
  42.         short            dInkLevel);
  43.  
  44.     PDefineColor(PRequestBuf& request);
  45.  
  46. private:
  47.  
  48.     PDefineColor();
  49. };
  50.  
  51. #endif
  52.  
  53. // end of PDefineColor.h
  54.